// app.js
App({
  onLaunch:function(){
    var that = this;
    wx.getSystemInfo({
      success: function(res) {
        that.globalData.usableScreenHeight = res.screenHeight - res.statusBarHeight - 44;
        // console.log(11111);
        // console.log(res);
        // console.log(11111);
      }
    });
  },
  globalData: {
    usableScreenHeight: null
  }
})
